﻿#ifndef FILTERRECORDOFCHARGE_H
#define FILTERRECORDOFCHARGE_H

#include <QWidget>
#include "Global.h"

namespace Ui {
class FilterRecordOfCharge;
}

class FilterRecordOfCharge : public QWidget
{
    Q_OBJECT
    
public:
    QLabel* time;
    QLabel* signal;

    explicit FilterRecordOfCharge(QWidget *parent = 0);
    ~FilterRecordOfCharge();

signals:
    void onFiltrateData(int Fitrating, QString CardNum, QString StartTime, QString EndTime);

public slots:
    void on_Keyboard_clicked();

private slots:
    void on_buttonOk_clicked();
    void on_buttonBack_clicked();

private:
    void keyBoardConnect();
    void keyHandle(QPushButton* btn, QLineEdit* lineEdit);

    Ui::FilterRecordOfCharge *ui;
};

#endif // FILTERRECORDOFCHARGE_H
